import java.awt.*;

class ToxinFactory implements GameElementFactory {
    public GameElement createElement(int x, int y) {
        return new Toxin(x, y, 22, new Color(200, 0, 0), -15, 8f);
    }

    @Override
    public float getSpawnWeight() {
        return 0.2f;
    }
}
